package com.youmu.shop.order.bean;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 订单实体
 * @author yjh
 *
 */
public class OrderBean {
	
	private long id;
	
	/**
	 * 下单时间
	 */
	private Date createDate;

	/**
	 * 配送截止时间(格式为 HH：mm)
	 */
	private String sendEndTime;
	
	/**
     * 配送方式
     */
    private Long shippingMethod;
	
	/**
	 * 地址
	 */
	private Long receiveId;
	
	/**
	 * 订单号
	 */
	private String sn;
	
	/**
	 * 订单状态(0-待支付 ，自营：1已支付，2配送中，5待评价，6已完成；
	 * 				   快递：1已支付，3待发货，4已发货，5待评价，6已完成)
	 */
	private int orderStatus;
	
	/**
	 * 用户id
	 */
	private Long member;
	
	/**
	 * 配送时间
	 */
	private String sendTime;
	
	/**
	 * 配送方式（自营:0，圆通快递:1 , 顺丰快递:2）
	 */
	private Integer sendMethod;
	
	/**
	 * 商品项
	 */
	private List<OrderItemBean> OrderItemBeans;
	
	/**
	 * 订单备注
	 */
	private String intro;
	
	/**
	 * 商品总计
	 */
	private Integer totalQuality; 
	
	/**
	 * 商品总金额
	 */
	private double totalAmount;
	
	/**
	 * 运费
	 */
	private double freight;
	
	/**
	 * 优惠券code
	 */
	private Long couponCode;
	
	/**
	 * 积分抵扣
	 */
	private Integer shopingPoint;
	
	/**
	 * 实付款 
	 */
	private double amountPaid;
	
	/**
	 * 外部订单号
	 */
	private String outSn;
	
	/**
     * 地址
     */
    private String address;
    
	/**
	 * 第三方闪送人员名称
	 */
	private String flashMen;
	/**
	 * 第三方闪送人员电话
	 */
	private String flashMenPhone;
	/**
	 * 快递运单号
	 */
	private String snOut;
	/**
	 * 配送人员id
	 */
	private Long posterId;
	/**
	 * 快递员接单时间
	 */
	private Date workerConfirmedTime;
	/**
	 * 快递员完成配送时间
	 */
	private Date workerReceivedTime;
	/**
	 * 餐具价格
	 */
	private String toolPrice;
	/**
	 * 餐具价格
	 */
	private BigDecimal fee;
	
	/** 收货人的电话 */
	private String receiverPhone;
	
	/** 收货人姓名  */
	private String receiverName;
	
	public BigDecimal getFee() {
		return fee;
	}

	public void setFee(BigDecimal fee) {
		this.fee = fee;
	}

	public String getToolPrice() {
		return toolPrice;
	}

	public void setToolPrice(String toolPrice) {
		this.toolPrice = toolPrice;
	}

	public Date getWorkerConfirmedTime() {
		return workerConfirmedTime;
	}

	public void setWorkerConfirmedTime(Date workerConfirmedTime) {
		this.workerConfirmedTime = workerConfirmedTime;
	}

	public Date getWorkerReceivedTime() {
		return workerReceivedTime;
	}

	public void setWorkerReceivedTime(Date workerReceivedTime) {
		this.workerReceivedTime = workerReceivedTime;
	}

	public Long getPosterId() {
		return posterId;
	}

	public void setPosterId(Long posterId) {
		this.posterId = posterId;
	}

	public String getFlashMen() {
		return flashMen;
	}

	public void setFlashMen(String flashMen) {
		this.flashMen = flashMen;
	}

	public String getFlashMenPhone() {
		return flashMenPhone;
	}

	public void setFlashMenPhone(String flashMenPhone) {
		this.flashMenPhone = flashMenPhone;
	}

	public String getSnOut() {
		return snOut;
	}

	public void setSnOut(String snOut) {
		this.snOut = snOut;
	}

	public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getSendMethod() {
		return sendMethod;
	}

	public void setSendMethod(Integer sendMethod) {
		this.sendMethod = sendMethod;
	}

	public String getOutSn() {
		return outSn;
	}

	public void setOutSn(String outSn) {
		this.outSn = outSn;
	}

	public Long getMember() {
		return member;
	}

	public void setMember(Long member) {
		this.member = member;
	}

	public double getAmountPaid() {
		return amountPaid;
	}

	public void setAmountPaid(double amountPaid) {
		this.amountPaid = amountPaid;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public Long getReceiveId() {
		return receiveId;
	}

	public void setReceiveId(Long receiveId) {
		this.receiveId = receiveId;
	}

	public String getSendTime() {
		return sendTime;
	}

	public void setSendTime(String sendTime) {
		this.sendTime = sendTime;
	}

	public List<OrderItemBean> getOrderItemBeans() {
		return OrderItemBeans;
	}

	public void setOrderItemBeans(List<OrderItemBean> orderItemBeans) {
		OrderItemBeans = orderItemBeans;
	}

	public String getIntro() {
		return intro;
	}

	public void setIntro(String intro) {
		this.intro = intro;
	}

	public Integer getTotalQuality() {
		return totalQuality;
	}

	public void setTotalQuality(Integer totalQuality) {
		this.totalQuality = totalQuality;
	}

	public double getTotalAmount() {
		return totalAmount;
	}

	public void setTotalAmount(double totalAmount) {
		this.totalAmount = totalAmount;
	}

	public double getFreight() {
		return freight;
	}

	public void setFreight(double freight) {
		this.freight = freight;
	}

	public Long getCouponCode() {
		return couponCode;
	}

	public void setCouponCode(Long couponCode) {
		this.couponCode = couponCode;
	}

	public Integer getShopingPoint() {
		return shopingPoint;
	}

	public void setShopingPoint(Integer shopingPoint) {
		this.shopingPoint = shopingPoint;
	}

	public String getSendEndTime() {
        return sendEndTime;
    }

    public void setSendEndTime(String sendEndTime) {
        this.sendEndTime = sendEndTime;
    }

    public String getSn() {
        return sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public int getOrderStatus() {
		return orderStatus;
	}

	public void setOrderStatus(int orderStatus) {
		this.orderStatus = orderStatus;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

    public Long getShippingMethod() {
        return shippingMethod;
    }

    public void setShippingMethod(Long shippingMethod) {
        this.shippingMethod = shippingMethod;
    }

        /**
         * Getter method for property <tt>receiverPhone</tt>.
         * 
         * @return property value of receiverPhone
         */
    public String getReceiverPhone() {
        return receiverPhone;
    }

        /**
         * Setter method for property <tt>receiverPhone</tt>.
         * 
         * @param receiverPhone value to be assigned to property receiverPhone
         */
    public void setReceiverPhone(String receiverPhone) {
        this.receiverPhone = receiverPhone;
    }

            /**
             * Getter method for property <tt>receiverName</tt>.
             * 
             * @return property value of receiverName
             */
        public String getReceiverName() {
            return receiverName;
        }

            /**
             * Setter method for property <tt>receiverName</tt>.
             * 
             * @param receiverName value to be assigned to property receiverName
             */
        public void setReceiverName(String receiverName) {
            this.receiverName = receiverName;
        }
	
	
}
